package com.zhiyou.aifeng.common_ui.model

import com.zhiyou.aifeng.common_ui.BuildConfig

/**
 * 项目名称：Smart_Machine
 * 创建人：小卷毛
 * 创建时间：2020-06-28 18:18
 */
object BaseUrl {

    @Suppress("MayBeConstant")
    val baseHttp = BuildConfig.API_HOST
    private val baseUrl = "$baseHttp/rest"

    val getCode = "$baseUrl/user/getCode.cs" //验证码
    val login = "$baseUrl/user/login.cs"     //登录
    val apply = "$baseUrl/user/userapply.cs" //申请

    val home = "$baseUrl/vehicle/home.cs"                 //主页
    val status = "$baseUrl/vehicle/updVehicle.cs"         //工作状态
    val brand = "$baseUrl/vehicle/getVehicleBrand.cs"     //品牌
    val brandType = "$baseUrl/dic/getDic.cs"              //类型
    val brandNum = "$baseUrl/vehicle/getVehicleModel.cs"  //型号
    val delBrand = "$baseUrl/vehicle/delVehicle.cs"       //删除农机
    val addBrand = "$baseUrl/vehicle/addVehicle.cs"       //添加农机
    val brandList = "$baseUrl/vehicle/myVehicleList.cs"   //农机列表
    val brandDetail = "$baseUrl/vehicle/vehicleInfo.cs"   //农机详情

    val rankList = "$baseUrl/vehicle/rankList.cs" //排行榜

    val workList = "$baseUrl/work/getNjsWorkList.cs"         //农事列表
    val workInfo = "$baseUrl/work/getNJSWorkInfo.cs"         //农事详情
    val workGet = "$baseUrl/work/fixWork.cs"                 //接单
    val orderList = "$baseUrl/work/getNjsAlreadyWorkList.cs" //作业订单
    val workStart = "$baseUrl/work/BeginWorkTask.cs"         //开始作业
    val workDone = "$baseUrl/work/endWorkTask.cs"            //结束作业

    val wallet = "$baseUrl/account/myAccount.cs"               //我的钱包
    val walletRecord = "$baseUrl/account/mySpend.cs"           //收入/支出记录
    val walletDraw = "$baseUrl/account/drawDeposits.cs"        //提现
    val walletList = "$baseUrl/account/drawDepositsRecords.cs" //提现记录
    val walletCard = "$baseUrl/account/myBank.cs"              //我的银行卡
    val walletAdd = "$baseUrl/account/addMyBank.cs"            //添加银行卡
    val walletDel = "$baseUrl/account/deleteBank.cs"           //删除银行卡
    val walletBank = "$baseUrl/account/banktype.cs"            //银行卡类型
    val walletDef = "$baseUrl/account/setDefBank.cs"           //默认银行卡

    val repairList = "$baseUrl/station/machineList.cs"   //维修列表
    val repairDetail = "$baseUrl/station/machineView.cs" //维修详情

    val msgList = "$baseUrl/msg/mymessage.cs"   //消息列表
    val sysList = "$baseUrl/msg/sysnotice.cs"   //系统列表
    val msgRead = "$baseUrl/msg/readmsg.cs"     //读消息
    val msgUnread = "$baseUrl/msg/unreadmsg.cs" //未读消息
    val msgAll = "$baseUrl/msg/readall.cs"      //全部已读

    val avatar = "$baseUrl/user/updateAvatar.cs" //修改头像
    val auth = "$baseUrl/user/userAuth.cs"       //实名认证
    val feedback = "$baseUrl/user/feedback.cs"   //意见反馈

    val town = "$baseUrl/town/list.cs"               //乡列表
    val village = "$baseUrl/village/list.cs"         //村列表
    val allArea = "$baseUrl/town/getAllDistict.cs"   //省市区乡镇
    val other = "$baseUrl/dic/protocol.cs"           //说明
    val version = "$baseUrl/version/checkVersion.cs" //版本

}